package entity;



import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.Date;
@Data
public class User {

    private Integer id;
    private String username;
    private String password;
    private String nickname;
    private String avatar;
    @JSONField(serialize = false)
    private Integer status;
    private Date addtime;

    public User() {
    }

    public User(Integer id, String username, String password, String nickname, String avatar, Integer status, Date addtime) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.nickname = nickname;
        this.avatar = avatar;
        this.status = status;
        this.addtime = addtime;
    }

}
